package com.codebattery.repository;

import com.codebattery.domain.entity.Brand;
import org.springframework.stereotype.Repository;

/**
 * @Author cay91
 * @Date 2020-08-26 2:39 PM
 * @Version 1.0
 */
@Repository
public interface BrandMapper {
    int deleteByPrimaryKey(Short brandId);

    int insert(Brand record);

    int insertSelective(Brand record);

    Brand selectByPrimaryKey(Short brandId);

    int updateByPrimaryKeySelective(Brand record);

    int updateByPrimaryKey(Brand record);
}